﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{   
    [Serializable]
    public class WhatIfWorkNode{
        private string _projectName;
        private string _nodeName;
        private string _nodeNum;
        private string _desc;
        private string _pidList;
        private string _date;
        List<WhatIfWorkNodeItem> _whatIfWorkNodeItemList = new List<WhatIfWorkNodeItem>();
        public WhatIfWorkNode(){}
        public WhatIfWorkNode(string projectName, string nodeName, string nodeNum, string desc, string date,string pidList){
            _projectName = projectName;
            _nodeName = nodeName;
            _nodeNum = nodeNum;
            _desc = desc;
            _date = date;
            _pidList = pidList;
        }

        public string ProjectName{
            get { return _projectName; }
            set { _projectName = value; }
        }

        public string NodeName{
            get { return _nodeName; }
            set { _nodeName = value; }
        }

        public string NodeNum{
            get { return _nodeNum; }
            set { _nodeNum = value; }
        }

        public string Desc{
            get { return _desc; }
            set { _desc = value; }
        }

        public string Date{
            get { return _date; }
            set { _date = value; }
        }

        public List<WhatIfWorkNodeItem> WhatIfWorkNodeItemList{
            get { return _whatIfWorkNodeItemList; }
            set { _whatIfWorkNodeItemList = value; }
        }

        public string PidList{
            get { return _pidList; }
            set { _pidList = value; }
        }
    }
}
